using System.Collections.Generic;
using System.Linq;
using UnityEngine;

[CreateAssetMenu(fileName = "Effect18-驱散目标的所有增益", menuName = "Skill/Effect/Effect18-驱散目标的所有增益", order = 18)]
public class Effect18 : EffectBase
{
    public override void Apply(Pair pair, GameEvent e, List<Chess> targets)
    {
        if(targets == null || targets.Count == 0) return;
        foreach (var target in targets)
        {
            target.DispelsBuffs();
        }
    }
}